home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / control / source < prev    next >
Encoding:
Text File  |  1992-12-17  |  851 b   |  14 lines

  1.           source fileName
  2.                Read file fileName and pass the  contents  to  the  Tcl
  3.                interpreter as a sequence of commands to execute in the
  4.                normal fashion.  The return  value  of  source  is  the
  5.                return  value  of  the  last  command executed from the
  6.                file.  If an error occurs in executing the contents  of
  7.                the  file,  then  the  source  command will return that
  8.                error.  If a return command is invoked from within  the
  9.                file, the remainder of the file will be skipped and the
  10.                source command will return  normally  with  the  result
  11.                from  the  return  command.   If fileName starts with a
  12.                tilde, then it is tilde-substituted as described in the
  13.                Tcl_TildeSubst manual entry.
  14.